package com.hz.pro.kitchen.dal.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "T_User")
public class UserEntity extends BaseEntity {
    @Column(name = "userId")
    private String userid;

    @Column(name = "userName")
    private String username;

    private String name;

    private Integer sex;

    private String email;

    @Column(name = "organizationId")
    private Long organizationid;

    @Column(name = "organizationName")
    private String organizationname;

    @Column(name = "siteId")
    private Long siteid;

    @Column(name = "siteName")
    private String sitename;

    private Integer role;

    private String mobile;

    @Column(name = "passwordMd5")
    private String passwordmd5;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getOrganizationid() {
        return organizationid;
    }

    public void setOrganizationid(Long organizationid) {
        this.organizationid = organizationid;
    }

    public String getOrganizationname() {
        return organizationname;
    }

    public void setOrganizationname(String organizationname) {
        this.organizationname = organizationname;
    }

    public Long getSiteid() {
        return siteid;
    }

    public void setSiteid(Long siteid) {
        this.siteid = siteid;
    }

    public String getSitename() {
        return sitename;
    }

    public void setSitename(String sitename) {
        this.sitename = sitename;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPasswordmd5() {
        return passwordmd5;
    }

    public void setPasswordmd5(String passwordmd5) {
        this.passwordmd5 = passwordmd5;
    }
}